import request from '@/utils/request';

/**
 * @description 查询列表
 */
export const remoteList = params => {
    return request.get('/sys/file/query', params);
};

/**
 * 添加
 */
export const addInfo = data => {
    return request.post('/sys/file/insert', data);
};

/**
 * 更新
 */
export const updateInfo = data => {
    return request.post('/sys/file/update', data);
};

/**
 * 删除
 */
export const deleteInfo = data =>{
    return request.post(`/sys/file/delete`,data)
}

export default{
    remoteList
}